-language: generic
-sudo: false
-
-branches:
- only:
- - master
-
-before_install:
- - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
- - evm install $EVM_EMACS --use --skip
- - cask
-
+# language: emacs-lisp
env:
- - EVM_EMACS=emacs-24.3-travis
- EVM_EMACS=emacs-24.4-travis
- EVM_EMACS=emacs-24.5-travis
- EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-25.2-travis
+ - EVM_EMACS=emacs-25.3-travis
- EVM_EMACS=emacs-git-snapshot-travis
+before_install:
+ - git clone https://github.com/rejeep/evm.git $HOME/.evm
+ - export PATH=$HOME/.evm/bin:$PATH
+ - evm config path /tmp
+ - evm install $EVM_EMACS --use --skip
+
matrix:
fast_finish: true
allow_failures:
- env:
- - EVM_EMACS=emacs-24.3-travis
- - EVM_EMACS=emacs-git-snapshot-travis
+ - env: EVM_EMACS=emacs-git-snapshot-travis
script:
- emacs --version
.PHONY : test
-EMACS ?= emacs
+emacs ?= emacs
CASK ?= cask
LOADPATH = -L .
ELPA_DIR = \
- .cask/$(shell $(EMACS) -Q --batch --eval '(princ emacs-version)')/elpa
+ .cask/$(shell $(emacs) -Q --batch --eval '(princ emacs-version)')/elpa
test: elpa
- $(CASK) exec $(EMACS) -Q -batch $(LOADPATH) \
+ $(CASK) exec $(emacs) -Q -batch $(LOADPATH) \
-l which-key-tests.el -f ert-run-tests-batch-and-exit
elpa: $(ELPA_DIR)